﻿<UserControl x:Class="ViewDashboardGridDefinition"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
            >
    <Grid Margin="5">       
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel>
            <UniformGrid Rows="7" Columns="2">
                <TextBlock Text="Activer Separateur" Margin="5" VerticalAlignment="Center" />
                <UniformGrid Columns="3" VerticalAlignment="Center" >
                    <RadioButton Focusable="False" GroupName="ActiveGroup" Content="Active"  VerticalAlignment="Center" Margin="5"  BorderBrush="Black" Name="ActiveRadioButton" x:FieldModifier="Public"/>
                    <RadioButton Focusable="False" GroupName="ActiveGroup" Content="Bloque" VerticalAlignment="Center" Margin="5"  BorderBrush="Black" Name="BloqueRadioButton" x:FieldModifier="Public"/>
                    <RadioButton Focusable="False" GroupName="ActiveGroup" Content="Masque" VerticalAlignment="Center" Margin="5"  BorderBrush="Black" Name="MasqueRadioButton" x:FieldModifier="Public"/>
                </UniformGrid>
                <TextBlock Text="Couloir" Margin="5" VerticalAlignment="Center" Name="TypeCouloirTextBlock" x:FieldModifier="Public" />
                <UniformGrid Columns="2" VerticalAlignment="Center" >
                    <RadioButton Focusable="False"  GroupName="CouloirGroup" Content="Precedente"  VerticalAlignment="Center" Margin="5"  BorderBrush="Black" Name="CouloirPrecedentCheckBox" x:FieldModifier="Public"/>
                    <RadioButton Focusable="False"   GroupName="CouloirGroup" Content="Suivante" VerticalAlignment="Center" Margin="5"  BorderBrush="Black" Name="CouloirSuivantCheckBox" x:FieldModifier="Public"/>
                </UniformGrid>
                <TextBlock Text="Type de Taille" Margin="5" VerticalAlignment="Center" />
                <ComboBox Focusable="False"  VerticalAlignment="Center" Margin="5" Text="Zone" BorderBrush="Black" Background="White" Name="TypeTailleCombobox" x:FieldModifier="Public">
                </ComboBox>

                <TextBlock Text="Taille" Margin="5" VerticalAlignment="Center" />
                <TextBox VerticalAlignment="Center" Margin="5" BorderBrush="Black" Name="TailleTextBlock" x:FieldModifier="Public"/>

                <TextBlock Text="Taille Absolue" Margin="5" VerticalAlignment="Center" />
                <TextBlock VerticalAlignment="Center" Margin="5" Name="TailleAbsolueTextBlock" x:FieldModifier="Public"/>

                <TextBlock Text="Taille Absolue Minimum" Margin="5" VerticalAlignment="Center" />
                <TextBox VerticalAlignment="Center" Margin="5" BorderBrush="Black" Name="TailleMaxTextBlock" x:FieldModifier="Public"/>

                <TextBlock Text="Taille Absolue Maximum" Margin="5" VerticalAlignment="Center" />
                <TextBox VerticalAlignment="Center" Margin="5" BorderBrush="Black" Name="TailleMinTextBlock" x:FieldModifier="Public"/>

            </UniformGrid>
        </StackPanel>
        <UniformGrid Columns="2" Grid.Row="1">
            <Button Name="ValidateButton" x:FieldModifier="Public"  VerticalAlignment="Center" Content="Valider" Margin="5" Padding="5" Focusable="False" Background="White"  />
            <Button Name="CancelButton" x:FieldModifier="Public"  VerticalAlignment="Center" Content="Annuler" Margin="5" Padding="5" Focusable="False" Background="White"  />
        </UniformGrid>
    </Grid>
</UserControl>
